JavaScript

{grid.object}setFocus Method

Syntax

{grid.Object}.setFocus(rowNum)

Arguments

rowNum

The row number that you want to set the focus on.

Description

Sets focus to the specified row number.

Discussion

To set focus to a new record use, use negative numbers. e.g. First new record row is -1, second new record row is -2, etc.

See Also